package cn.com.hhrcw.params;

import cn.com.hhrcw.base.BaseParams;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 新简历-简历本历
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "new_resume参数", description = "简历-简历本历")
public class NewResumeParams extends BaseParams implements Serializable {

    /**
     *
     */
    private String id;
    // 1、基本信息添加
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "性别：0未设置 1男 2女")
    @NotNull
    private Integer sex;

    @ApiModelProperty(value = "手机号码")
    @NotBlank
    private String phone;
    /**
     * 出生日期
     */
    private Date birthday;

    @ApiModelProperty(value = "户口所在地")
    private String homeTownCode;

    @ApiModelProperty(value = "姓名")
    @NotBlank
    private String username;

    //  4、教育经历添加
    @ApiModelProperty(value = "前端写死-最高学历： 0 初中  1 高中 2 中专/中技 3 大专 4 本科 5 硕士 6 MBA/EMBA 7 博士")
    private Integer eduLevel;

    @ApiModelProperty(value = "学位")
    private String r1;

    @ApiModelProperty(value = "毕业院校")
    private String schoolName;
    @ApiModelProperty(value = "毕业时间")
    /**
     * 就读开始时间
     */
    private Date startEduTime;

    private Date endEduTime;
    @ApiModelProperty(value = "所学专业")
    private String major;

    /**
     * 附件文件id
     */
    @ApiModelProperty(value = "附件文件id，多个以逗号相隔")
    private String enclosureId;

}
